projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff451e1
)
(fortran-split-line): Make it work with any `!' comment as well.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 13 Mar 2002 16:42:47 +0000
(16:42 +0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 13 Mar 2002 16:42:47 +0000
(16:42 +0000)
lisp/progmodes/fortran.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/fortran.el
b/lisp/progmodes/fortran.el
index 2ef875e1fe31dd763334b6ad324db2846b6586b9..8d4d0131180fcaf9d36e282c8e4be933ca858e99 100644
(file)
--- a/
lisp/progmodes/fortran.el
+++ b/
lisp/progmodes/fortran.el
@@
-844,8
+844,10
@@
See also `fortran-window-create'."
(interactive)
(delete-horizontal-space)
(if (save-excursion
- (beginning-of-line)
- (looking-at fortran-comment-line-start-skip))
+ (let ((pos (point)))
+ (beginning-of-line)
+ (and (fortran-find-comment-start-skip 'all)
+ (< (match-beginning 0) pos))))
(insert ?\n (match-string 0))
(if indent-tabs-mode
(insert ?\n ?\t (fortran-numerical-continuation-char))